package com.jbm.jbmsupplier.activity.loadhomepage.view;

import android.app.Activity;
import android.os.Bundle;

import com.jbm.jbmsupplier.activity.loadhomepage.factoryhome.LoadHomeFactory;

/**
 * Created by 家帮忙 on 2017/8/23.
 */

public class LoadHoadPageManage extends Activity {
    String  name="1";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        LoadHomeFactory loadhomefactory = new LoadHomeFactory();
        if (name.equals("1")) {
            loadhomefactory.getLoagHomePage("1").LoadNewHome(this);//第一个代表施工端
        }else if (name.equals("2")){
            loadhomefactory.getLoagHomePage("2").LoadNewHome(this);//第二个代表管理端
        }
    }
}
